from user import views
from django.urls import path
from rest_framework.routers import SimpleRouter

urlpatterns = [
    path('log/', views.Loginped.as_view()),
    path('send/', views.SendCode.as_view()),
    path('login/', views.Login.as_view()),
    path('register/', views.Register.as_view()),
    path('test/', views.TestUser.as_view()),
    path('cart/', views.Cart.as_view()),
]
router = SimpleRouter()
router.register("log1",views.LogView)
urlpatterns += router.urls